home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
VRML 2.0 Sourcebook (2nd Edition)
/
VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso
/
book
/
mac
/
ch17
/
17fig10c.wrl
< prev
next >
Wrap
Text File
|
1996-09-23
|
787b
|
44 lines
#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright [1997] By
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Group {
children [
# Ground
Shape {
appearance Appearance {
material Material { }
}
geometry IndexedFaceSet {
coord Coordinate {
point [
-5.0 0.0 5.0, 5.0 0.0 5.0,
5.0 0.0 -5.0, -5.0 0.0 -5.0,
]
}
coordIndex [ 0, 1, 2, 3 ]
solid FALSE
}
},
# Tree face
Shape {
appearance Appearance {
# No material, use emissive texturing
texture ImageTexture {
url "tree1.png"
}
}
geometry IndexedFaceSet {
coord Coordinate {
point [
-1.51 0.0 0.0, 1.51 0.0 0.0,
1.51 3.0 0.0, -1.51 3.0 0.0,
]
}
coordIndex [ 0, 1, 2, 3 ]
solid FALSE
}
}
]
}